﻿<UserControl x:Class="SocketCoder_VoiceChat.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">

    <Grid x:Name="LayoutRoot" Background="White" Width="400" Height="300">
        <Grid Background="#FFE8E8E8" Margin="1,1,0,0">
            <Button Click="ConnectBTN_Click" Content="Connect" Height="23" HorizontalAlignment="Right" Margin="0,14,73,0" Name="ConnectBTN" VerticalAlignment="Top" Width="73" />
            <TextBox Height="23" HorizontalAlignment="Left" Margin="97,14,0,0" Name="IPAddress_TXT" Text="0.0.0.0" VerticalAlignment="Top" Width="133" />
            <dataInput:Label Content="Server IP" HorizontalAlignment="Left" Margin="34,14,0,262" Name="label1" Width="62" />
            <Button Click="StartSendingBTN_Click" Content="Start Talking" Height="38" HorizontalAlignment="Left" IsEnabled="False" Margin="39,0,0,108" Name="StartSendingBTN" VerticalAlignment="Bottom" Width="146" />
            <Button Click="StopSendingBT_Click" Content="Stop Talking" Height="38" HorizontalAlignment="Right" IsEnabled="False" Margin="0,153,80,0" Name="StopSendingBT" VerticalAlignment="Top" Width="121" />
            <MediaElement Height="199" HorizontalAlignment="Left" Margin="333,76,0,0" Name="mediaElement1" VerticalAlignment="Top" Width="30" />
            <dataInput:Label Height="23" HorizontalAlignment="Right" Margin="0,43,19,0" Name="BufferSizeLB" VerticalAlignment="Top" Width="48" Content="0" />
            <dataInput:Label Height="14" HorizontalAlignment="Right" Margin="0,43,71,0" Name="label4" VerticalAlignment="Top" Width="75" Content="Buffer Size" />
            <Button Content="Join to the Voice Room" Height="36" HorizontalAlignment="Left" Margin="39,63,0,0" Name="ListeningBTN" VerticalAlignment="Top" Width="280" Click="ListeningBTN_Click" IsEnabled="False" />
            <CheckBox Content="Mute Listening And Just Talking ..." Height="19" HorizontalAlignment="Left" Margin="60,222,0,0" Name="MuteCheckBox" VerticalAlignment="Top" Width="234" IsEnabled="False" />
            <ComboBox Height="23" HorizontalAlignment="Left" Margin="39,124,0,0" Name="MicrophonesCombo" VerticalAlignment="Top" Width="280" />
            <dataInput:Label Content="Note: To hear your voice you should open two sessions " Height="25" HorizontalAlignment="Right" Margin="0,274,51,0" Name="label2" VerticalAlignment="Top" Width="343" FontSize="12" />
        </Grid>
        
       
    </Grid>
</UserControl>
